home *** CD-ROM | disk | FTP | other *** search
/ Aminet 34 / Aminet 34 (2000)(Schatztruhe)[!][Dec 1999].iso / Aminet / comm / irc / cybershiela.lha / cs / cs_where.amirx < prev    next >
Text File  |  1999-09-26  |  2KB  |  45 lines

  1. /* CyberShiela MultiResponse File */
  2. nick=getclip('NICK')
  3. xx=random(1,31,time('s'))
  4. select
  5. when xx=1 then a="In bed."
  6. when xx=2 then a="Outside."
  7. when xx=3 then a="Inside."
  8. when xx=4 then a="In Minnesota."
  9. when xx=5 then a="In New York."
  10. when xx=6 then a="In Seattle."
  11. when xx=7 then a="In Sydney, Australia."
  12. when xx=8 then a="Next to your best friend."
  13. when xx=9 then a="Beside your worst enemy."
  14. when xx=10 then a="At home."
  15. when xx=11 then a="At work."
  16. when xx=12 then a="At a bowling alley."
  17. when xx=13 then a="At a golf course."
  18. when xx=14 then a="At a sports arena."
  19. when xx=15 then a="Under the bed."
  20. when xx=16 then a="In the street."
  21. when xx=17 then a="In your friend's car."
  22. when xx=18 then a="In the back seat of a car."
  23. when xx=19 then a="In a doorway."
  24. when xx=20 then a="At your computer terminal."
  25. when xx=21 then a="In a chair."
  26. when xx=22 then a="At the dinner table."
  27. when xx=23 then a="In the refrigerator."
  28. when xx=24 then a="At your friend's house."
  29. when xx=25 then a="Sitting on the lap of someone you love."
  30. when xx=26 then a="On your great-great-great-great grandfather's grave."
  31. when xx=27 then a="At Disneyworld."
  32. when xx=28 then a="At McDonald's."
  33. when xx=29 then a="In the restroom."
  34. when xx=30 then a="In the bathtub."
  35. when xx=31 then a="In the shower."
  36. end
  37. modif:
  38. user=nick
  39. old=a
  40. m=length(user);temp=a;x=pos("$1",temp);if x~=0 then do;temp2 = delstr(temp,x,2);old = insert(user,temp2,x-1,m," ");end
  41. temp=old;m=length(channam);x=pos("$chan",temp);if x~=0 then do;temp2 = delstr(temp,x,5);old = insert(channam,temp2,x-1,m," ");end
  42. a=old
  43. 'say 'A
  44. exit
  45.